#define LCD_DC                 0x04  //  PD2
#define LCD_CE                 0x01  //  PD0
#define SPI_MOSI               0x08  //  PD3
#define LCD_RST                0x02  //  PD1
#define SPI_CLK                0x10  //  PB4
#define DDR_LCD				   DDRD
#define PORT_LCD			   PORTD

void LCD_init(void);
void LCD_clear(void);
void LCD_write_english_string(unsigned char X,unsigned char Y,char *s);
void LCD_set_XY(unsigned char X, unsigned char Y);
void LCD_write_char(unsigned char c);
void LCD_write_byte(unsigned char data, unsigned char dc);
void delay_1us(void);                 
void delay_nus(unsigned int n);      
void delay_1ms(void);                
void delay_nms(unsigned int n);     
